
from django.contrib import admin
from django.conf.urls import url
from django.views.generic.base import TemplateView

urlpatterns = [

    # 这里将url的根路径指向vue中的index页面
    url(r'^admin/', admin.site.urls),
    url(r'^$', TemplateView.as_view(template_name="index.html")),

]
